﻿@{
    Layout = "~/Views/Shared/_Page.cshtml";
}
@section top {
    @Html.Partial("_Top")
}
@section header {
    @Html.Partial("_Header")
}
@section footer
{
    @Html.Partial("_Footer")
}

@section left
{
}

@section right
{
    @if (IsSectionDefined("right"))
    {
    @RenderSection("right", false)
    }
    else
    {
    <div class="sub-menu">
        <div class="sub-menu-header">You may want to do:</div>
        @{
        var currMenuItem = MenuHelper.GetCurrentMenuItem();
        ICollection<NavigationItem> items = currMenuItem == null ? null : currMenuItem.Items;
    }
        @Html.Partial("_Buttons", items)
        @Html.Partial("_Operations")
    </div>
    }
}

<div class="content-header">
    <h1>@ViewBag.Title</h1>
    @if (ViewBag.Description != null)
    {
        <p>@ViewBag.Description</p>
    }
</div>
@Html.Partial("_Crumble", MenuHelper.GetCrumblePathItems(null))
<div class="content">
    @RenderBody()
</div>

